<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>YZNCMS后台管理系统</title>
    <meta name="author" content="YZNCMS">
    <link rel="stylesheet" href="__STATIC__/libs/layui/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/admin/css/admin.css?t=1590715655">
    <link rel="stylesheet" href="__STATIC__/common/font/iconfont.css">
    <script src="__STATIC__/libs/layui/layui.js"></script>
    <script src="__STATIC__/libs/jquery/jquery.min.js"></script>
    <script type="text/javascript">
    //全局变量
    var GV = {
        'current_page_url': '{$page_url ? $page_url : request()->url()}',
        'image_upload_url': '{$image_upload_url ? $image_upload_url : url("attachment/upload/upload", ["dir" => "images", "module" => request()->module()])}',
        'file_upload_url': '{$file_upload_url ? $file_upload_url : url("attachment/upload/upload", ["dir" => "files", "module" => request()->module()])}',
        'jcrop_upload_url': '{$jcrop_upload_url ? $jcrop_upload_url : url("attachment/Attachments/cropper")}',
        'WebUploader_swf': '__STATIC__/libs/webuploader/Uploader.swf',
        'ueditor_upload_url': '{$ueditor_upload_url ? $ueditor_upload_url : url("attachment/upload/upload", ["dir" => "images","from"=>"ueditor", "module" => request()->module()])}',
        'ueditor_grabimg_url': '{$ueditor_upload_url ? $ueditor_upload_url : url("attachment/Attachments/geturlfile")}',
        'image_select_url': '{$image_select_url ? $image_select_url : url("attachment/Attachments/select")}',
    };
    var layuiTableSet = {
        //limit: 10,
        //limits: [10,20,30,40,50,60,70,80,90],
        response: {
            statusName: 'code' //规定数据状态的字段名称，默认：code
            , statusCode: 1 //规定成功的状态码，默认：0
            , msgName: 'msg' //规定状态信息的字段名称，默认：msg
            , countName: 'count' //规定数据总数的字段名称，默认：count
            , dataName: 'data' //规定数据列表的字段名称，默认：data
        }
    };
    </script>
</head>

<body class="childrenBody">
<script src="__STATIC__/libs/cms-ui.js"></script>
    {block name="layui"}
    <script type="text/javascript">
    //console.log(layui.cache);
    layui.config({
        version: '1557143998810',
        base: '__STATIC__/libs/layui_exts/'
    }).extend({
        treeGrid: 'treeGrid/treeGrid',
        clipboard: 'clipboard/clipboard',
        notice: 'notice/notice',
        iconPicker: 'iconPicker/iconPicker',
        tableSelect: 'tableSelect/tableSelect',
        ztree: 'ztree/ztree',
        dragsort:'dragsort/dragsort',
        tagsinput: 'tagsinput/tagsinput',
        common: '{/}__STATIC__/admin/js/common'
    }).use(['common']);
    </script>
    {/block}
    {block name="main"}主内容{/block}
    {block name="script"}{/block}
</body>

</html>